/*
 * @Description: 代码定义操作组件
 * @Author: Rfan
 * @Date: 2022-01-07 15:35:59
 * @LastEditTime: 2022-02-15 10:49:44
 */

import { Button, Space } from 'antd';

const Operate = () => {
  const showModal = () => {
    console.log('showModal');
  };

  return (
    <div className="filter-container">
      <p className="page-title">代码定义</p>
      <Space size="small">
        <Button>删除代码库</Button>
        <Button type="primary" onClick={showModal}>
          添加代码库
        </Button>
      </Space>
    </div>
  );
};

export default Operate;
